<@mits.headerDiv />

   <script type='text/javascript' src='${base}/dwr/interface/trackLogMgr.js'></script>
  <script type='text/javascript' src='${base}/dwr/engine.js'></script>
  <script type='text/javascript' src='${base}/dwr/util.js'></script>
<div class="Main" id="Main">
	<!--屏幕切换-->
   
    
    
	<!--左边-->
	<!--右边-->
	<div class="Main_body" id="Main_body">
		<div class="Main_right_top">
		  <div class="Main_bodyListBar_head">搜索条件 </div>
		                 
		 <br>
		 <form method="post" action="" id="myform" name="myform">
		<input type="hidden" name="surveillance.id" id="surveillance.id" />
		 	<table border="0" cellspacing="1" cellpadding="0" class="addTable" >
	 	
                <tr>
                    <td >号牌种类：</td>
 					<td class="content" >
			              <select width="50" id="searchDto.plateType" name="searchDto.plateType" value="${searchDto.plateType?if_exists?html}">
					<option value="">全部</option>		
					<option value="大型汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="大型汽车">selected</#if> >大型汽车</option>
					<option value="小型汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="小型汽车">selected</#if> >小型汽车</option>
					<option value="使馆汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="使馆汽车">selected</#if> >使馆汽车</option>	
					<option value="领馆汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="领馆汽车">selected</#if> >领馆汽车</option>
					<option value="境外汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="境外汽车">selected</#if> >境外汽车</option>
					<option value="外籍汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="外籍汽车">selected</#if> >外籍汽车</option>	
					<option value="普通摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="普通摩托车">selected</#if> >普通摩托车</option>	
					<option value="轻便摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="轻便摩托车">selected</#if> >轻便摩托车</option>	
					<option value="使馆摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="使馆摩托车">selected</#if> >使馆摩托车</option>	
					<option value="领馆摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="领馆摩托车">selected</#if> >领馆摩托车</option>	
					<option value="境外摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="境外摩托车">selected</#if> >境外摩托车</option>	
					<option value="外籍摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="外籍摩托车">selected</#if> >外籍摩托车</option>	
					<option value="农用运输车" <#if searchDto.plateType?exists&&searchDto.plateType=="农用运输车">selected</#if> >农用运输车</option>
					<option value="拖拉机" <#if searchDto.plateType?exists&&searchDto.plateType=="拖拉机">selected</#if> >拖拉机</option>	
					<option value="挂车" <#if searchDto.plateType?exists&&searchDto.plateType=="挂车">selected</#if> >挂车</option>	
					<option value="教练汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="教练汽车">selected</#if> >教练汽车</option>	
					<option value="教练摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="教练摩托车">selected</#if> >教练摩托车</option>	
					<option value="试验汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="试验汽车">selected</#if> >试验汽车</option>	
					<option value="试验摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="试验摩托车">selected</#if> >试验摩托车</option>	
					<option value="临时入境汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="临时入境汽车">selected</#if> >临时入境汽车</option>
					<option value="临时入境摩托车" <#if searchDto.plateType?exists&&searchDto.plateType=="临时入境摩托车">selected</#if> >临时入境摩托车</option>
					<option value="临时行驶车" <#if searchDto.plateType?exists&&searchDto.plateType=="临时行驶车">selected</#if> >临时行驶车</option>	
					<option value="警用汽车" <#if searchDto.plateType?exists&&searchDto.plateType=="警用汽车">selected</#if> >警用汽车</option>	
					<option value="警用摩托" <#if searchDto.plateType?exists&&searchDto.plateType=="警用摩托">selected</#if> >警用摩托</option>	
					<option value="其它" <#if searchDto.plateType?exists&&searchDto.plateType=="其它">selected</#if> >其它</option>	
					</select>	</td>
                    <td >车牌号码：</td>
                  	<td >
	<select id="searchDto.plateNumberPrefix" name="searchDto.plateNumberPrefix" onclick="prvClick()" onchange="prvChange()">
							<option value="浙">浙</option>
							<option value="京">京</option>	
							<option value="沪">沪</option>	
							<option value="津">津</option>	
							<option value="渝">渝</option>	
							<option value="冀">冀</option>
							<option value="晋">晋</option>
							<option value="蒙">蒙</option>	
							<option value="辽">辽</option>	
							<option value="吉">吉</option>	
							<option value="黑">黑</option>	
							<option value="苏">苏</option>	
							<option value="皖">皖</option>
							<option value="闽">闽</option>	
							<option value="赣">赣</option>	
							<option value="鲁">鲁</option>	
							<option value="豫">豫</option>	
							<option value="鄂">鄂</option>	
							<option value="湘">湘</option>
							<option value="粤">粤</option>	
							<option value="桂">桂</option>	
							<option value="琼">琼</option>	
							<option value="川">川</option>	
							<option value="贵">贵</option>	
							<option value="滇">滇</option>
							<option value="藏">藏</option>	
							<option value="陕">陕</option>	
							<option value="甘">甘</option>	
							<option value="宁">宁</option>	
							<option value="青">青</option>	
							<option value="新">新</option>	
							<option value="港">港</option>
							<option value="澳">澳</option>	
							<option value="台">台</option>				       				
					</select>
					<input type="text"  id="searchDto.plateNumberSufix" size="12" name="searchDto.plateNumberSufix"  onKeyUp="check()" value="${searchDto.plateNumberSufix?if_exists}" />  
					</td>
					 <td >布控类别：</td>
                  	<td >
					<select width="50"  id="searchDto.surveillanceType" name="searchDto.surveillancType">
					<option value="1">24小时内违法数据</option>
					</select> 
					</td>
			   </tr>
                
			    <tr>
                    <td >撤控时间:</td>
                  	<td colspan="3" >
					 <input type="text" class="input_calendar" readonly onclick="displayCalendar('',$('searchDto.startDate'),'yyyy-mm-dd',this)" name="searchDto.startDate" id="searchDto.startDate" value="<#if  searchDto.startDate?exists>${searchDto.startDate?if_exists}</#if>"/>
					 <select id="searchDto.startHour" name="searchDto.startHour">
					<#list 0..23 as i>　
					<option value="${i}" <#if searchDto.startHour?exists && searchDto.startHour?if_exists== i>selected</#if>>${i}</option>
					</#list>				
					</select>时
					<select id="searchDto.startMinute" name="searchDto.startMinute">
					<#list 0..59 as j>　
					<option value="${j}" <#if searchDto.startMinute?exists && searchDto.startMinute?if_exists== j>selected</#if>>${j}</option>
					</#list>				
					</select>分
					 ~ 
					<input type="text" class="input_calendar" readonly onclick="displayCalendar('',$('searchDto.endDate'),'yyyy-mm-dd',this)" name="searchDto.endDate" id="searchDto.endDate" value="<#if searchDto.endDate?exists>${searchDto.endDate?if_exists}</#if>"/>
				 <select id="searchDto.endHour" name="searchDto.endHour">
					<#list 0..23 as m>　
					<option value="${m}" <#if searchDto.endHour?exists &&  searchDto.endHour?if_exists== m>selected</#if>>${m}</option>
					</#list>				
					</select>时
					<select id="searchDto.endMinute" name="searchDto.endMinute">
					<#list 0..59 as n>　
					<option value="${n}" <#if searchDto.endMinute?exists &&  searchDto.endMinute?if_exists== n>selected</#if>>${n}</option>
					</#list>				
					</select>分				
					</td>
                     
                  	 
					 <td >&nbsp;</td>  
					 <td ><input type="button"  value="查询" class="button" onclick="search(0)"/></td>                  
			   </tr>
 				            	   
			 </table >
		</form>		</div>
		<div class="Main_right_line"></div>
		
		  <div class="Main_bodyListBar">
				<div class="Main_bodyListBar_head"><span>已撤控名单列表</span></div>
				
				
	    <div class="Main_bodyListBar_body">
	  
				  <table border="0" cellpadding="0" cellspacing="0" class="listTable">
					<tr align="center">
					  <th  >车牌号码</th>
					  <th  >号牌种类</th>
					  <th  >布控类别</th>
					  <th  >撤控时间</th>
					  <th  >撤控原因</th>
					  <th  >撤控人</th>
					</tr>
					<#if cancleSurveillanceResult?exists>
                <#assign surveillances = cancleSurveillanceResult.content>
                <#assign  index = 0>
                <#list surveillances as cancelSurveillance>
                 
					<tr onmouseover="listTable_trMouseOver(this)" onmouseout="listTable_trMouseOut(this)">					 					
				      <td>${cancelSurveillance.surveillance?if_exists.plateNumber?if_exists}</td> 
					  <td>${cancelSurveillance.surveillance?if_exists.plateType?if_exists}</td>
					  <td>${cancelSurveillance.surveillance?if_exists.surveillanceTypeStr?if_exists}&nbsp;</td>
					  <td>${cancelSurveillance?if_exists.cancleDate?if_exists}&nbsp;</td>
					  <td>${cancelSurveillance?if_exists.cancleReson?if_exists}&nbsp;</td>
					  <td>${cancelSurveillance?if_exists.cancleUser?if_exists.name?if_exists}&nbsp;</td>
					</tr>
					 <#assign  index = index+1>
					</#list>
			 <@mpage.fillLine pageSize, cancleSurveillanceResult.content.size(), 6/>
                <tr class="foot">
                  <td colspan="6">
                    <#assign page = cancleSurveillanceResult.page>
                    <script language = 'JavaScript'>
                        function changePage(cpage){
                            search(cpage);
                        }
                    </script>
                    <@mpage.showPageInfo page/>
                  &nbsp;</td>
                </tr>
                </#if>
				  </table>
		
			</div>
				<div class="Main_bodyListBar_bottom">
				  <div class="Main_bodyListBar_button">
				  </div>
					
				</div>
			<div class="Main_bodyListBar_foot"></div>
		  </div>
		</div>
	
</div>
<script lanague ="javascript">
function check(){
 var pValue = $('searchDto.plateNumberSufix').value;
if(pValue.indexOf("'")!=-1){
$('searchDto.plateNumberSufix').value=pValue.substr(0,pValue.length-1)
}
}
 function prvClick() {
 if($('searchDto.plateNumberPrefix').options[0].selected == true) {
  $('searchDto.plateNumberSufix').value = $('searchDto.plateNumberPrefix').value  
 }

 }
 function prvChange() {

  $('searchDto.plateNumberSufix').value = $('searchDto.plateNumberPrefix').value
 }
 function search(cpage) {
 	trimAllElements($('myform'));
    if(Validator.Validate($('myform'),3)){
  	    $('myform').action = "${base}/auth/surveillance/cancelSsurveillanceSearch.action?cleanSucMsg=true&currentPage="+cpage;
  		$('myform').submit();
    }		
 }
 function do_Cancel(id) {
        $("surveillance.id").value=id;
  	    $('myform').action = "${base}/auth/surveillance/doCancel.action?cleanSucMsg=true";
  		$('myform').submit();
 }
 
</script>
<@mits.footerDiv />


